import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'quanXianGuanLi-'

export default {
  path: '/quanXianGuanLi',
  name: 'quanXianGuanLi',
  redirect: {
    name: `${pre}yongHuSheZhi`
  },
  meta: { ...meta, title: '权限管理' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'yongHuSheZhi',
      name: '17100',
      meta: {
        ...meta,
        title: '用户设置'
      }
      // component: () => import('@/pages/quanXianGuanLi/yongHuSheZhi')
    },
    {
      path: 'jueSheSheZhi',
      name: '17200',
      meta: {
        ...meta,
        title: '角色设置'
      }
      // component: () => import('@/pages/quanXianGuanLi/jueSheSheZhi')
    }
  ]
} as AppRouteRecord
